package com.alks.entity.data.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alks.entity.data.page.PageParam;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2023-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SD_MTL_NEW")
@ApiModel(value="SdMtlNew对象", description="")
public class SdMtlNew extends PageParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private String typeName;

    private String typeName1;

    private String typeName2;

    private String typeNo;

    @TableId(value = "COMPANY_ID", type = IdType.AUTO)
    private String companyId;

    private String mtlNo;

    private String mtlName;

    private String mtlSpec;

    private String mtlUnit;

    private String sysUser;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date sysDate;

    private String mtlColor;

    private BigDecimal cutWidth;

    private String vendorNo;

    private String vendorName;

    private String remark;

    private String custom;

    private String updateUser;

    private String updateDate;

    private String expDate;


}
